package com.usian.service;

import com.usian.pojo.TbItem;

import java.util.Map;

public interface CartService {
    //根据用户 ID 查询用户购物车
    Map<String, TbItem> selectCartByUserId(String userId);
    //添加购物车
    Boolean insertCart(String userId, Map<String, TbItem> map);
}
